"""
运算符重载：+、-、*、/ ……

"""


class Vector1:
    def __init__(self, x=0):
        self.x = x

    def __str__(self):
        return self.x.__str__()

    def __add__(self, other):
        return Vector1(self.x + other.x)

    def __floordiv__(self, other):
        return Vector1(other.x // self.x)


v1 = Vector1(10)
v2 = Vector1(20)

# print(v1 + v2)
print(v1 // v2)
